package model

type SupervisorWithDrawTransCreateRequest struct {
	Id                   int64   `json:"id"`
	SupervisorWithDrawId int64   `json:"supervisor_with_draw_id"`
	TotalAmount          float64 `json:"total_amount"`
	Status               int     `json:"status"`
	SupervisorId         string  `json:"supervisor_id"`
	Delta                float64 `json:"delta"`
	Desc                 string  `json:"desc"`
	ExtraData            string  `json:"extra_data"`
	OperatorId           string  `json:"operator_id"`
	Operator             string  `json:"operator"`
	CreatedAt            int64   `json:"created_at"`
	UpdatedAt            int64   `json:"updated_at"`
}
type SupervisorWithDrawTransUpdateRequest struct {
	Id                   int64    `json:"id"`
	SupervisorWithDrawId *int64   `json:"supervisor_with_draw_id"`
	TotalAmount          *float64 `json:"total_amount"`
	Status               *int     `json:"status"`
	SupervisorId         *string  `json:"supervisor_id"`
	Delta                *float64 `json:"delta"`
	Desc                 *string  `json:"desc"`
	ExtraData            *string  `json:"extra_data"`
	OperatorId           *string  `json:"operator_id"`
	Operator             *string  `json:"operator"`
	CreatedAt            *int64   `json:"created_at"`
	UpdatedAt            *int64   `json:"updated_at"`
}
type SupervisorWithDrawTransListRequest struct {
	Id                   int64    `json:"id"`
	SupervisorWithDrawId *int64   `json:"supervisor_with_draw_id"`
	TotalAmount          *float64 `json:"total_amount"`
	Status               *int     `json:"status"`
	CreatedAt            *int64   `json:"created_at"`
	UpdatedAt            *int64   `json:"updated_at"`
	SupervisorId         *string  `json:"supervisor_id"`
	Delta                *float64 `json:"delta"`
	Desc                 *string  `json:"desc"`
	ExtraData            *string  `json:"extra_data"`
	OperatorId           *string  `json:"operator_id"`
	Operator             *string  `json:"operator"`
	Index                int      `json:"index"`
	Size                 int      `json:"size"`
}
type SupervisorWithDrawTransListResponse struct {
	Total int                            `json:"total"`
	List  []*SupervisorWithDrawTransInfo `json:"list"`
}
type SupervisorWithDrawTransInfoRequest struct {
	Id int64 `json:"id"`
}
type SupervisorWithDrawTransInfo struct {
	Id                   int64   `json:"id"`
	SupervisorWithDrawId int64   `json:"supervisor_with_draw_id"`
	TotalAmount          float64 `json:"total_amount"`
	Status               int     `json:"status"`
	SupervisorId         string  `json:"supervisor_id"`
	Delta                float64 `json:"delta"`
	Desc                 string  `json:"desc"`
	ExtraData            string  `json:"extra_data"`
	SupervisorName       string  `json:"supervisor_name"`
	OperatorId           string  `json:"operator_id"`
	Operator             string  `json:"operator"`
	CreatedAt            int64   `json:"created_at"`
	UpdatedAt            int64   `json:"updated_at"`
}
type SupervisorWithDrawTransDeleteRequest struct {
	Id int64 `json:"id"`
}
